package com.kede.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author 【请填写作者】
 * @since 2020-04-16
 */
public class Ctrain implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 经验培训id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long uid;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    @TableField("`primary`")
    private String primary;

    /**
     * 图片
     */
    private String picture;

    /**
     * 副本
     */
    private String copy;

    /**
     * 状态
     */
    private String state;

    /**
     * 菜单id
     */
    private Long mid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getPrimary() {
        return primary;
    }

    public void setPrimary(String primary) {
        this.primary = primary;
    }
    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }
    public String getCopy() {
        return copy;
    }

    public void setCopy(String copy) {
        this.copy = copy;
    }
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    public Long getMid() {
        return mid;
    }

    public void setMid(Long mid) {
        this.mid = mid;
    }

    @Override
    public String toString() {
        return "Ctrain{" +
            "id=" + id +
            ", uid=" + uid +
            ", title=" + title +
            ", primary=" + primary +
            ", picture=" + picture +
            ", copy=" + copy +
            ", state=" + state +
            ", mid=" + mid +
        "}";
    }
}
